package com.hqyj.system.service;

import com.hqyj.system.model.Role;

import java.util.List;

public interface RoleService {
    List<Role> queryAllRole();

    int addRoleByRole(Role role);

    int deleteRoleByidStr(int id);

    Role selectRoleByRoleId(int roleId);


    int updateRoleByRoleId(Role role);

    Role queryRoleByUserId(int userId);

    Role queryRoleByRoleId(int roleId);

    List<Role> query_xz_roleByUserId(int userId);
}
